package com.example.myapp;

import android.view.View;

import androidx.annotation.NonNull;

import io.flutter.plugin.platform.PlatformView;

/**
 * @author weng
 * @date 2022/7/26 9:45
 * @describe flutter 页面嵌入Android原生view
 */
public class AndroidNaviteView implements PlatformView {

    @Override
    public View getView() {

        return null;
    }

    @Override
    public void onFlutterViewAttached(@NonNull View flutterView) {

        PlatformView.super.onFlutterViewAttached(flutterView);
    }

    @Override
    public void onFlutterViewDetached() {

        PlatformView.super.onFlutterViewDetached();
    }

    @Override
    public void dispose() {

    }

    @Override
    public void onInputConnectionLocked() {

        PlatformView.super.onInputConnectionLocked();
    }

    @Override
    public void onInputConnectionUnlocked() {
        PlatformView.super.onInputConnectionUnlocked();
    }
}
